let mongoose = require('./db')
const Schema = mongoose.Schema

const UserSchema = new Schema({
    name: String,
    phone: Number,
    touxiang: String,
    img: String,
    password: Number

})

const UserModel = mongoose.model('User', UserSchema, 'User')
// UserModel.create({
//     name: "郝德毅",
//     phone: 15131202528,
//     img: "https://pic2.zhimg.com/v2-7f2a503f37b013a0a8c3d20063c61d9a_r.jpg?source=1940ef5c",
//     touxiang: "https://img.zcool.cn/community/019856581ade02a84a0d304fe58044.jpg@1280w_1l_2o_100sh.jpg",

//     password: 123456
// })




module.exports = {
    UserModel,
};